package com.oa.framework.org.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.oa.framework.org.domain.Position;
import org.springframework.stereotype.Component;

/**
 * @author cuichao
 */
@Component
public interface PositionDao extends BaseMapper<Position> {

    /**
     * 根据Id禁用职位
     * @param positionId
     * @return
     */
    int disablePosition(Long positionId);

}
